// 景点相关的数据模型
const mongoose = require("mongoose");
const baseModel = require("./base");
// 创建数据模型
const commentSchema = new mongoose.Schema({
  ...baseModel,
  userId: {type: String},
  funId: {type: String},
  hotelId: {type: String},
  content: {type: String},
  pics: {type: String},
  ywty: {type: Number},
  mjfw: {type: Number},
  type: {type: String},
});

module.exports = commentSchema;
